package com.lgy.utils;

public class PathUtils {
    public static String getUrlSuffix(String url) {
        return url.substring(url.lastIndexOf("."));
    }

    public static void main(String[] args) {
        String  url = "http://aa/asd/xxs/df.css?sdsd=x&dsds=x";

        System.out.println(getUrlSuffix(url));
    }
}
